﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace MyProject {

	[Table(Name = "scene", DisableSyncStructure = true)]
	public partial class Scene {

		/// <summary>
		/// 场景id
		/// </summary>
		[Column(Name = "scene_id", IsPrimary = true, IsIdentity = true)]
		public int SceneId { get; set; }

		/// <summary>
		/// ab包名称
		/// </summary>
		[Column(Name = "ab_name")]
		public string? AbName { get; set; }

		[Column(Name = "create_time", DbType = "datetime")]
		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 描述
		/// </summary>
		[Column(Name = "description")]
		public string? Description { get; set; }

		/// <summary>
		/// 标题
		/// </summary>
		[Column(Name = "detail_title")]
		public string? DetailTitle { get; set; }

		/// <summary>
		/// 房间所属的空间的收藏总数
		/// </summary>
		[Column(Name = "favorite_total")]
		public int? FavoriteTotal { get; set; }

		/// <summary>
		/// 是否页面显示
		/// </summary>
		[Column(Name = "is_show")]
		public int? IsShow { get; set; }

		/// <summary>
		/// 关键字
		/// </summary>
		[Column(Name = "keywords")]
		public string? Keywords { get; set; }

		/// <summary>
		/// 层级ID
		/// </summary>
		[Column(Name = "level_id")]
		public int? LevelId { get; set; }

		/// <summary>
		/// 房间所属的空间的点赞总数
		/// </summary>
		[Column(Name = "likes_total")]
		public int? LikesTotal { get; set; }

		/// <summary>
		/// 最大在线人数
		/// </summary>
		[Column(Name = "max_player_count")]
		public int? MaxPlayerCount { get; set; }

		/// <summary>
		/// 名称
		/// </summary>
		[Column(Name = "name")]
		public string? Name { get; set; }

		/// <summary>
		/// 缩略图
		/// </summary>
		[Column(Name = "pic")]
		public string? Pic { get; set; }

		/// <summary>
		/// 缩略图id
		/// </summary>
		[Column(Name = "pic_id")]
		public string? PicId { get; set; }

		/// <summary>
		/// 发布状态
		/// </summary>
		[Column(Name = "publish_status")]
		public int? PublishStatus { get; set; }

		/// <summary>
		/// 排序
		/// </summary>
		[Column(Name = "sort")]
		public int? Sort { get; set; }

		/// <summary>
		/// 房间所属的空间的在线人数
		/// </summary>
		[Column(Name = "totals")]
		public int? Totals { get; set; }

		/// <summary>
		/// 场景分类ID
		/// </summary>
		[Column(Name = "type_id")]
		public int? TypeId { get; set; }

		[Column(Name = "update_time", DbType = "datetime")]
		public DateTime? UpdateTime { get; set; }

		/// <summary>
		/// 版本号
		/// </summary>
		[Column(Name = "version")]
		public int? Version { get; set; }

		/// <summary>
		/// 房间所属的空间的访问量
		/// </summary>
		[Column(Name = "visits")]
		public int? Visits { get; set; }

	}

}
